﻿<%@ Page Title="申请提现" Language="C#" MasterPageFile="~/member/mMenber.master" AutoEventWireup="true" CodeBehind="WithDrawResult.aspx.cs" Inherits="map.member.money.WithDrawResult" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head2" runat="server"> 
    <link href="../../outstyle.css" rel="stylesheet" type="text/css" />
    <script src="../../js/dropdowncontent.js" type="text/javascript"></script>
    <style  type="text/css" >
        .MainContentDiv
        {
            width:90%;
        } 
        .ProcessDiv  ,.ResultDiv
        {
            width:100%;
            border:solid 1px #FFCC33;
            margin:30px 10px 30px 10px;
        }      
        .td_0
        {             
            width:10%;
            text-align:center ; 
            padding:5px 5px 5px 5px;  
        }
        .td_1
        {
            width:90%;
            padding:5px 5px 5px 5px;
        }
        .td_1 h1
        {
            font-size:larger ;
        }
        
    </style>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder3" runat="server">
    <div class="MainContentDiv">
        <div id="ProcessDiv" class="ProcessDiv">
            <table width="100%">
                <tr>
                    <td class ="td_0">
                       <div style=" margin:20px 5px 20px 5px; padding-top:60px; height:100%; background:url(/img/info_info_50.png) no-repeat; vertical-align:middle ;">&nbsp; 
                       </div>
                    </td>
                    <td class ="td_1">
                        <span  style=" font-size:larger; font-weight:bold; margin-right:20px;">提现申请提交中...</span>
                        
                        <br />
                        <br />
                        <span id="ProcessSpan" style="color:gray">系统正在处理您的申请，请您耐心等待5秒钟 </span>   <img  style=" padding-top:5px; margin-left:50px" src="/img/41496067_19751.gif"/>
                    </td>
                </tr>
            </table>
        </div>  <br />
        <div id="ResultDiv" class="ResultDiv" style=" display:none">
            <div id="GoodResultDiv" runat="server">
                <table width="100%">
                    <tr>
                        <td class ="td_0">
                           <div style=" margin:20px 5px 20px 5px; padding-top:60px; height:100%; background:url(/img/SendSuccess.gif) no-repeat; vertical-align:middle ;">&nbsp; 
                           </div>
                        </td>
                        <td class ="td_1">
                            <span  style=" font-size:larger; font-weight:bold; margin-right:20px;">您的提现申请已经提交，款项会在2-3个工作日内到达您的银行账户内。</span>                          
                            <br />
                            <br />
                            <span id="Span1" style="color:gray">提现款项暂时被冻结，我们会在第二个工作如处理您的申请！ </span>  
                            <hr />
                            <ul style=" padding-left:20px;">
                                <li>单个用户单日仅允许操作3次提现，请妥善分配提现金额！</li>
                                <li><a style="color:Blue; text-decoration:underline" href="#">提现可能遇到的问题</a></li>
                            </ul>
                        </td>
                    </tr>
                </table>
            </div>
            <div id="BadResultDiv" runat="server">
                <table width="100%">
                    <tr>
                        <td class ="td_0">
                           <div style=" margin:20px 5px 20px 5px; padding-top:60px; height:100%; background:url(/img/info_exclaimed_50.png) no-repeat; vertical-align:middle ;">&nbsp; 
                           </div>
                        </td>
                        <td class ="td_1">
                            <span  style=" font-size:larger; font-weight:bold; margin-right:20px;">对不起，您的提现申请未通过审核，申请失败。</span>                          
                            <br />
                            <br />
                            <span id="Span2" style="color:gray">提现款项已经打回您的账户，请查收！ </span>  
                            <hr />
                            <h2>以下是可能出现的原因：</h2>
                            <ul style=" padding-left:20px;">
                                <li>您在当天已经成功提现3次或者3次以上（单个用户单日仅允许操作3次提现）</li>
                            </ul>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
    
    <script type="text/javascript">

        function initWithDraw() {
            var totalTime = 5;
            var timeid = setInterval(function() {
                var ProcessDiv = document.getElementById("ProcessDiv");
                var ResultDiv = document.getElementById("ResultDiv");
                ProcessDiv.style.display = (totalTime > 1) ? "block" : "none";
                ResultDiv.style.display = (totalTime <= 1) ? "block" : "none";
                if (totalTime > 1) {
                    totalTime--;
                    var ProcessSpan = document.getElementById("ProcessSpan");
                    ProcessSpan.innerHTML = "系统正在处理您的申请，请您耐心等待" + totalTime + "秒钟...";
                }
                else {
                    totalTime--;
                    clearInterval(timeid);
                    return;
                }
            }, 1000);
        }

        initWithDraw();
    </script>
</asp:Content>
